Audio video reproduction apparatus, audio video reproduction method, program, and medium

ABSTRACT

There has been a case where during the changing of a speed such that the continuation time is reduced or extended, the output timing of a video signal and the output timing of an audio signal can largely deviate from each other in comparison with the case of normal reproduction, and that the synchronization can not be maintained.  
     An audio video reproduction apparatus comprising: an audio speed conversion circuit  1008  of performing audio speed conversion on a generated audio signal in such a manner that the information on an A-PTS is maintained, depending on an executing reproduction speed; an audio output buffer circuit  1009  of accumulating the audio signal having undergone the audio speed conversion and of outputting the signal according to the executing reproduction speed; a video output buffer circuit  1004  of accumulating and outputting a generated video signal; and a comparison circuit  1011  of comparing the A-PTS with a V-PTS by using the maintained information on the A-PTS; wherein using the result of the comparison, the video output buffer circuit  1004  outputs the accumulated video signal according to the executing reproduction speed.

TECHNICAL FIELD

[0001] The present invention relates to an audio video reproduction apparatus, an audio video reproduction method, a program, and a medium in which synchronization between video and audio is maintained even when reproduction is performed at a speed other than the single speed.

BACKGROUND ART

[0002] In a prior art audio video reproduction apparatus, reproduction is performed by a method described below in which synchronization between video and audio is maintained (for example, see JP-A2001-8170). Further, FIG. 11 is a block diagram of a prior art audio video reproduction apparatus in which synchronization between video and audio is maintained even when reproduction is performed at a speed other than the single speed.

[0003] Here, the entire disclosure of JP-A2001-8170 is incorporated herein by reference in its entirety.

[0004] A system analyzing circuit 1 is a circuit of classifying input data into video data and audio data.

[0005] A video input buffer circuit 2 is a circuit of accumulating the video data outputted from the system analyzing circuit 1, while a video decoding circuit 3 is a circuit of acquiring the video data from the video input buffer circuit 2 and thereby decoding and converting the data into a video signal.

[0006] A video output buffer circuit 4 is a circuit of accumulating and outputting the video signal outputted from the video decoding circuit 3.

[0007] An audio input buffer circuit 5 is a circuit of accumulating the audio data outputted from the system analyzing circuit 1, while an audio decoding circuit 6 is a circuit of acquiring the audio data from the audio input buffer circuit 5 and thereby decoding and converting the data into an audio signal.

[0008] An audio output buffer circuit 9 is a circuit of accumulating and outputting the audio signal outputted from the audio decoding circuit 6.

[0009] A speed setting circuit 7 is a circuit of setting a desired speed in response to a user's instruction through a remote controller or the like. A video output control circuit 21 is a circuit which depending on the speed set by the speed setting circuit 7, outputs a control signal to the video output buffer circuit 4 so that the video signal is skipped when the continuation time is to be reduced, and which outputs a control signal to the video output buffer circuit 4 so that the video signal is frozen when the continuation time is to be extended.

[0010] An audio output control circuit 22 is a circuit which monitors the situation of accumulation of the audio signal in the audio output buffer circuit 9, and (1) which outputs a control signal to the audio output buffer circuit 9 so that the audio signal is skipped when the continuation time is to be reduced and hence when the audio signal tends to overflow in the audio output buffer circuit 9, and (2) which outputs a control signal to the audio output buffer circuit 9 so that the audio signal is repeated or paused when the continuation time is to be extended and hence when the audio signal tends to lack in the audio output buffer circuit 9.

[0011] Described next is the operation of the prior art audio video reproduction apparatus.

[0012] The system analyzing circuit 1 classifies input data into video data and audio data.

[0013] The video input buffer circuit 2 accumulates the video data outputted from the system analyzing circuit 1, while the video decoding circuit 3 acquires the video data from the video input buffer circuit 2 and thereby decodes and converts the data into a video signal.

[0014] The video output buffer circuit 4 accumulates and outputs the video signal outputted from the video decoding circuit 3.

[0015] The audio input buffer circuit 5 accumulates the audio data outputted from the system analyzing circuit 1, while the audio decoding circuit 6 acquires the audio data from the audio input buffer circuit 5 and thereby decodes and converts the data into an audio signal.

[0016] The audio output buffer circuit 9 accumulates and outputs the audio signal outputted from the audio decoding circuit 6.

[0017] The speed setting circuit 7 sets a desired speed in response to a user's instruction through a remote controller or the like. Depending on the speed set by the speed setting circuit 7, the video output control circuit 21 outputs a control signal to the video output buffer circuit 4 so that the video signal is skipped when the continuation time is to be reduced, and outputs a control signal to the video output buffer circuit 4 so that the video signal is frozen when the continuation time is to be extended.

[0018] The audio output control circuit 22 monitors the situation of accumulation of the audio signal in the audio output buffer circuit 9, and (1) outputs a control signal to the audio output buffer circuit 9 so that the audio signal is skipped when the continuation time is to be reduced and hence when the audio signal tends to overflow in the audio output buffer circuit 9, and (2) outputs a control signal to the audio output buffer circuit 9 so that the audio signal is repeated or paused when the continuation time is to be extended and hence when the audio signal tends to lack in the audio output buffer circuit 9.

[0019] Thus, (1) when the continuation time is to be reduced, a control signal is outputted to the audio output buffer circuit 9 so that the audio signal is skipped, whereby it is suppressed that the audio signal tends to overflow in the audio output buffer circuit 9, and (2) when the continuation time is to be extended, a control signal is outputted to the audio output buffer circuit 9 so that the audio signal is repeated or paused, whereby it is suppressed that the audio signal tends to lack in the audio output buffer circuit 9.

[0020] Nevertheless, in the prior art audio video reproduction apparatus described above, there has been the problem that during the changing of the speed such that the continuation time is reduced or extended, the output timing of the video signal and the output timing of the audio signal can largely deviate from each other in comparison with the case of normal reproduction, and that the synchronization can not be maintained.

[0021] Further, there are needs for fast browsing and slow listening. In such fast browsing and slow listening, the AV synchronization needs to be ensured.

DISCLOSURE OF INVENTION

[0022] With considering the above-mentioned problem, an object of the invention is to provide an audio video reproduction apparatus, an audio video reproduction method, a program, and a medium in which even when the reproduction speed is set different from the normal reproduction speed, the output timing of the video signal and the output timing of the audio signal do not largely deviate from each other in comparison with the case of normal reproduction, and hence their synchronization is maintained more precisely.

[0023] A first invention of the present invention is an audio video reproduction apparatus comprising:

[0024] classifying means of classifying externally inputted MPEG (Moving Picture Experts Group) data containing audio data having an A-PTS (audio-presentation time stamp) and video data having a V-PTS (video-presentation time stamp) into said audio data and said video data;

[0025] audio signal generating means of decoding said classified audio data and thereby generating an audio signal;

[0026] audio speed converting means of performing audio speed conversion on said generated audio signal in such a manner that the information on said A-PTS is maintained, depending on an executing reproduction speed which is determined on the basis of an external setting reproduction speed having been set externally and at which actual reproduction is performed;

[0027] audio signal accumulating and outputting means of accumulating said audio signal having undergone the audio speed conversion and of outputting said accumulated audio signal according to said executing reproduction speed;

[0028] video signal generating means of decoding said classified video data and thereby generating a video signal;

[0029] video signal accumulating and outputting means of accumulating said generated video signal and outputting said accumulated video signal; and

[0030] comparing means of comparing said A-PTS corresponding to the audio signal outputted from said audio signal accumulating and outputting means with said V-PTS corresponding to the video signal outputted from said video signal accumulating and outputting means, by using said maintained information on the A-PTS; wherein

[0031] using the result of said comparison, said video signal accumulating and outputting means outputs said accumulated video signal according to said executing reproduction speed.

[0032] A second invention of the present invention is an audio video reproduction apparatus according to the first invention of the present invention, wherein as a result of said comparison, said video signal accumulating and outputting means (1) outputs said accumulated video signal with using skip operation when said A-PTS corresponding to the audio signal outputted from said audio signal accumulating and outputting means is in advance of said V-PTS corresponding to the video signal outputted from said video signal accumulating and outputting means, and (2) outputs said accumulated video signal with using freeze operation when said A-PTS corresponding to the audio signal outputted from said audio signal accumulating and outputting means is behind said V-PTS corresponding to the video signal outputted from said video signal accumulating and outputting means.

[0033] A third invention of the present invention is an audio video reproduction apparatus according to the second invention of the present invention, wherein as a result of said comparison, when said A-PTS corresponding to the audio signal outputted from said audio signal accumulating and outputting means is in advance of said V-PTS corresponding to the video signal outputted from said video signal accumulating and outputting means, said video signal accumulating and outputting means skips all or part of B pictures of said accumulated video signal.

[0034] A fourth invention of the present invention is an audio video reproduction apparatus according to the first invention of the present invention, further comprising video data accumulating means which is inserted between said classifying means and said video signal generating means and which accumulates said classified video data, wherein

[0035] as a result of said comparison, when said A-PTS corresponding to the audio signal outputted from said audio signal accumulating and outputting means is in advance of said V-PTS corresponding to the video signal outputted from said video signal accumulating and outputting means, said video data accumulating means disposes of all or part of B pictures of said classified video data.

[0036] A fifth invention of the present invention is an audio video reproduction apparatus according to the first invention of the present invention, wherein said executing reproduction speed is (1) adjusted depending on whether said accumulated video signal has successfully been outputted according to said executing reproduction speed or not, alternatively (2) adjusted to approach the single speed when said accumulated video signal has not successfully been outputted according to said executing reproduction speed, and adjusted to approach said external setting reproduction speed when said accumulated video signal has successfully been outputted according to said executing reproduction speed, or alternatively (3) adjusted on the basis of the frequency of B pictures in said video data.

[0037] A sixth invention of the present invention is an audio video reproduction method comprising:

[0038] a classifying step of classifying externally inputted MPEG (Moving Picture Experts Group) data containing audio data having an A-PTS (audio-presentation time stamp) and video data having a V-PTS (video-presentation time stamp) into said audio data and said video data;

[0039] an audio signal generating step of decoding said classified audio data and thereby generating an audio signal;

[0040] an audio speed converting step of performing audio speed conversion on said generated audio signal in such a manner that the information on said A-PTS is maintained, depending on an executing reproduction speed which is determined on the basis of an external setting reproduction speed having been set externally and at which actual reproduction is performed;

[0041] an audio signal accumulating and outputting step of accumulating said audio signal having undergone the audio speed conversion and of outputting said accumulated audio signal according to said executing reproduction speed;

[0042] a video signal generating step of decoding said classified video data and thereby generating a video signal;

[0043] a video signal accumulating and outputting step of accumulating said generated video signal and outputting said accumulated video signal; and

[0044] a comparing step of comparing said A-PTS corresponding to the audio signal outputted in said audio signal accumulating and outputting step with said V-PTS corresponding to the video signal outputted in said video signal accumulating and outputting step, by using said maintained information on the A-PTS; wherein

[0045] in said video signal accumulating and outputting step, using the result of said comparison, said accumulated video signal is outputted according to said executing reproduction speed.

[0046] A seventh invention of the present invention is a program of causing a computer to execute the classifying step, the audio signal generating step, the audio speed converting step, the audio signal accumulating and outputting step, the video signal generating step, the video signal accumulating and outputting step, and the comparing step of the audio video reproduction method according to the sixth invention of the present invention.

[0047] An eighth invention of the present invention is a computer-processable medium which carries the program according to the seventh invention of the present invention.

BRIEF DESCRIPTION OF DRAWINGS

[0048]FIG. 1 is a block diagram of an audio video reproduction apparatus according to Embodiment 1 of the invention.

[0049]FIG. 2 is a diagram illustrating input data according to Embodiment 1 of the invention.

[0050]FIG. 3(A) is a diagram illustrating an audio speed conversion method (Method 1) according to Embodiment 1 of the invention.

[0051]FIG. 3(B) is a diagram illustrating an audio speed conversion method (Method 2) according to Embodiment 1 of the invention.

[0052]FIG. 4 is a flowchart (Chart 1) of an audio video reproduction apparatus according to Embodiment 1 of the invention.

[0053]FIG. 5 is a flowchart (Chart 2) of an audio video reproduction apparatus according to Embodiment 1 of the invention.

[0054]FIG. 6 is a block diagram of an audio video reproduction apparatus according to an embodiment of an invention relevant to the present invention.

[0055]FIG. 7 is a block diagram of an audio video reproduction apparatus according to Embodiment 2 of an invention relevant to the present invention.

[0056]FIG. 8 is a flowchart (Chart 1) of an audio video reproduction apparatus according to Embodiment 2 of an invention relevant to the present invention.

[0057]FIG. 9 is a flowchart (Chart 2) of an audio video reproduction apparatus according to Embodiment 2 of an invention relevant to the present invention.

[0058]FIG. 10 is a block diagram of an audio video reproduction apparatus according to an embodiment of an invention relevant to the present invention.

[0059]FIG. 11 is a block diagram of a prior art audio video reproduction apparatus.

[0060] [Description of Reference Numerals]

[0061]1001 System analyzing circuit

[0062]1002 Video input buffer circuit

[0063]1003 Video decoding circuit

[0064]1004 Video output buffer circuit

[0065]1104 V-PTS buffer circuit

[0066]1005 Audio input buffer circuit

[0067]1006 Audio decoding circuit

[0068]1007 Speed setting circuit

[0069]1008 Audio speed conversion circuit

[0070]1009 Audio output buffer circuit

[0071]1209 A-PTS buffer circuit

[0072]1010 Timer circuit

[0073]1011 Comparison circuit

BEST MODE FOR CARRYING OUT THE INVENTION

[0074] Embodiments of the invention are described below with reference to the drawings.

[0075] (Embodiment 1)

[0076] First, the configuration of an audio video reproduction apparatus according to the present embodiment is described below with reference mainly to FIG. 1 which is a block diagram showing an audio video reproduction apparatus according to an MPEG standard of Embodiment 1 of the invention.

[0077] A system analyzing circuit 1001 is a circuit of classifying video data having a V-PTS (video-presentation time stamp) and audio data having an A-PTS (audio-presentation time stamp) from input data shown in FIG. 2 which is a diagram illustrating input data according to Embodiment 1 of the invention.

[0078] According to the MPEG standard, image data and audio data decoded in advance or behind relative to each other with respect to time are rearranged using information on reproduction time respectively indicated in the above-mentioned V-PTS and A-PTS, and then outputted.

[0079] A video input buffer circuit 1002 is a circuit of accumulating the video data and the V-PTS outputted from the system analyzing circuit 1001, while a video decoding circuit 1003 is a circuit of acquiring the video data from the video input buffer circuit 1002, thereby decoding and converting the data into a video signal, and outputting the corresponding V-PTS to a V-PTS buffer circuit 1104.

[0080] A video output buffer circuit 1004 is a circuit of accumulating and outputting the video signal and the corresponding V-PTS outputted from the video decoding circuit 1003.

[0081] A V-PTS buffer circuit 1104 is a circuit of accumulating and outputting the V-PTS outputted from the video decoding circuit 1003.

[0082] An audio input buffer circuit 1005 is a circuit of accumulating the audio data and the A-PTS outputted from the system analyzing circuit 1001, while an audio decoding circuit 1006 is a circuit of acquiring the audio data from the audio input buffer circuit 1005, thereby decoding and converting the data into an audio signal, and outputting the corresponding A-PTS to an A-PTS buffer circuit 1209.

[0083] A speed setting circuit 1007 is a circuit of setting a desired audio speed conversion ratio α in response to a user's instruction externally provided through a remote controller or the like.

[0084] For example, in case of the audio speed conversion ratio α={fraction (1/2)}, the continuation time of the audio signal becomes ½ in comparison with the case where the audio is reproduced at the single speed. Thus, in a timer circuit 1010, the A-PTS is renewed at twice the frequency, and hence the time indicated by the timer circuit 1010 progresses at twice the speed, although the progress is not continuous. That is, when the continuation time of the audio signal is extended, the time interval of A-PTSs outputted from the A-PTS buffer circuit 1209 becomes longer, whereas when the continuation time of the audio signal is reduced, the time interval of A-PTSs outputted from the A-PTS buffer circuit 1209 becomes shorter. As such, these A-PTSs are outputted to the timer circuit 1010, whereby the counter of the timer circuit 1010 is forcedly corrected by the A-PTSs depending on the audio speed conversion ratio.

[0085] An audio speed conversion circuit 1008 is a circuit which using an audio speed conversion method of changing solely the continuation time without changing the frequency (pitch of sound), performs an audio speed conversion process on the audio signal outputted from the audio decoding circuit 1006 on the basis of the audio speed conversion ratio α outputted from the speed setting circuit 1007, and thereby causes an audio output buffer circuit 1009 to perform outputting so that the time correspondence with A-PTS output timing is maintained.

[0086] Here, the audio speed conversion method used in the present embodiment may be an audio speed conversion method described in the specification of Patent No. 2532731. In this audio speed conversion method, an inputted audio waveform is multiplied by a window function, and then a superposed addition is applied such that the value of a correction function becomes large. This realizes audio speed conversion in which discontinuity in the amplitude and the phase of the audio waveform and loss in the audio data seldom occur.

[0087] Here, the entire disclosure of the specification of Patent No. 2532731 is incorporated herein by reference in its entirety.

[0088] For example, when audio speed conversion is performed at an audio speed conversion ratio α=⅔ using this audio speed conversion method, audio waveforms W1-W9 shown in FIG. 3(A) which is a diagram illustrating an audio speed conversion method (Method 1) according to Embodiment 1 of the invention can be converted into audio waveforms W1′-W9′ shown in FIG. 3(B) which is a diagram illustrating an audio speed conversion method (Method 2) according to Embodiment 1 of the invention.

[0089] More specifically, for example, the audio waveforms W1 and W2 are superposed in such a manner that no discontinuity occurs in the amplitude, and then the continuation time solely is changed without a substantial change in the frequency, whereby the audio waveforms are converted into the audio waveforms W1′ and W2′. The audio waveform W3 is converted into the audio waveform W3′ almost intact. The audio waveforms W4 and W5 are superposed in such a manner that no discontinuity occurs in the amplitude and that the phases are shifted to each other, and then the continuation time solely is changed without a substantial change in the frequency, whereby the audio waveforms are converted into the audio waveforms W4′ and W5′.

[0090] An audio output buffer circuit 1009 is a circuit of accumulating the audio signal and the A-PTS output timing outputted from the audio speed conversion circuit 1008, thereby outputting the audio signal continuously according to a sampling frequency, and outputting the A-PTS output timing to an A-PTS buffer circuit 1209 when the corresponding audio signal is outputted.

[0091] An A-PTS buffer circuit 1209 is a circuit of accumulating and outputting the A-PTS outputted from the audio decoding circuit 1006, in synchronization with the A-PTS output timing outputted from the audio output buffer circuit 1009.

[0092] A timer circuit 1010 is a circuit of setting the A-PTS outputted from the A-PTS buffer circuit 1209 and thereby measuring time T (which is approximately the same as a counter value described later).

[0093] A comparison circuit 1011 is a circuit which compares the time T outputted from the timer circuit 1010 with the V-PTS outputted from the V-PTS buffer circuit 1104, thereby (1) controls the video output buffer circuit 1004 so that the video signal is frozen when the audio speed conversion circuit 1008 has extended the continuation time of the audio and hence the V-PTS is in advance of the time T, and (2) controls the video output buffer circuit 1004 so that the video signal (for example, a B picture which is of a type of video not referred to by the video decoding circuit 1003 during the decoding of another picture) is skipped when the audio speed conversion circuit 1008 has reduced the continuation time of the audio and hence the V-PTS is behind the time T.

[0094] The comparison circuit 1011 is a circuit of controlling the video input buffer circuit 1002 so that video data of B picture is disposed of in the latter case where the V-PTS is behind the time T. This controlling operation by the comparison circuit 1011 is performed in order to reduce the amount of processing in the video decoding circuit 1003 without problems during the decoding, and hence is obviously not indispensable.

[0095] Such control permits more reliable synchronization between the audio signal outputted from the audio output buffer circuit 1009 and the video signal outputted from the video output buffer circuit 1004.

[0096] Means including the system analyzing circuit 1001 corresponds to classifying means according to the invention. Means including the audio decoding circuit 1006 corresponds to audio signal generating means according to the invention. Means including the audio speed conversion circuit 1008 corresponds to audio speed converting means according to the invention. Means including the audio output buffer circuit 1009 corresponds to audio signal accumulating and outputting means according to the invention. Means including the video decoding circuit 1003 corresponds to video signal generating means according to the invention. Means including the video output buffer circuit 1004 corresponds to video signal accumulating and outputting means according to the invention. Means including the comparison circuit 1011 corresponds to comparing means according to the invention. Means including the video input buffer circuit 1002 corresponds to video data accumulating means according to the invention.

[0097] The operation of the audio video reproduction apparatus according to the present embodiment is described next with reference mainly to FIG. 4 which is a flowchart (Chart 1) of an audio video reproduction apparatus according to Embodiment 1 of the invention. At the same time as the description of the operation of the audio video reproduction apparatus according to the present embodiment, an embodiment of an audio video reproduction method according to the invention is also described.

[0098] Steps 100 and 101; The process begins (Step 100). The system analyzing circuit 1001 receives a bit stream (Step 101).

[0099] Step 102; The system analyzing circuit 1001 extracts, from the bit stream, video data and a video packet in which a V-PTS corresponding to the video data is recorded. The video input buffer circuit 1002 stores them.

[0100] Step 103; The system analyzing circuit 1001 extracts, from the bit stream, audio data and an audio packet in which an A-PTS corresponding to the audio data is recorded. The audio input buffer circuit 1005 stores them.

[0101] Steps 104 and 105; The video decoding circuit 1003 acquires the video data from the video input buffer circuit 1002, thereby decodes and converts the data into a video signal (Step 104).

[0102] The video output buffer circuit 1004 stores the video signal and the V-PTS output timing, while the V-PTS buffer circuit 1104 stores the V-PTS (Step 105).

[0103] Steps 106-108; The audio decoding circuit 1006 acquires the audio data from the audio input buffer circuit 1005, thereby decodes and converts the data into an audio signal (Step 106).

[0104] The audio speed conversion circuit 1008 performs an audio speed conversion process on the audio signal on the basis of the audio speed conversion ratio α having been set by the speed setting circuit 1007 (Step 107).

[0105] The audio output buffer circuit 1009 stores the audio signal the continuation time of which has been changed and the A-PTS output timing, while the A-PTS buffer circuit 1209 stores the A-PTS (Step 108).

[0106] Step 109; The timer circuit 1010 measures a counter value corresponding to the A-PTS outputted from the A-PTS buffer circuit 1209 (and hence corresponding to the audio signal outputted from the audio output buffer circuit 1009), while the comparison circuit 1011 subtracts the counter value from the V-PTS corresponding to the video signal outputted from the V-PTS buffer circuit 1104 and thereby calculates their difference δ.

[0107] Steps 110-114; The comparison circuit 1011 determines the relation between the difference δ and a predetermined threshold value 60 (Step 110).

[0108] (1) When it is determined that δ<−δ₀ (that is, the video-presentation time stamp is rather behind the audio-presentation time stamp), the video output buffer circuit 1004 outputs the video signal stored therein, with skipping one video frame (Step 111).

[0109] Further, the comparison circuit 1011 controls the video input buffer circuit 1002 so that video data of B picture is disposed of (Step 112).

[0110] (2) When it is determined that δ>δ₀ (that is, the video-presentation time stamp is rather in advance of the audio-presentation time stamp), the video output buffer circuit 1004 outputs the video signal stored therein, with freezing one video frame (Step 113).

[0111] (3) When it is determined that −δ₀≦δ≦δ₀ (that is, the video-presentation time stamp is almost neither in advance nor behind the audio-presentation time stamp), the video output buffer circuit 1004 outputs the video signal without skipping or freezing (Step 114).

[0112] Steps 115-118; The audio output buffer circuit 1009 outputs the audio signal (Step 115), and then sets the A-PTS corresponding to the audio signal into the counter of the timer circuit 1010 via the A-PTS buffer circuit 1209 (Step 116). (1) When the reproduction is to be ended, a series of these processes are terminated, whereas (2) when the reproduction is not to be ended, a series of these processes are repeated (Steps 117 and 118).

[0113] The configuration and the operation of the audio video reproduction apparatus according to the present embodiment have been described above in detail.

[0114] (A) In place of the control that the comparison circuit 1011 controls the video output buffer circuit 1004 so that the video signal is skipped (or alternatively, along with such control that the video signal is skipped), the comparison circuit 1011 may notify this to the video input buffer circuit 1002, whereby on recognizing the notification, the video decoding circuit 1003 may identify and skip video data of B picture by itself.

[0115] That is, B pictures are identified from pictures of the other types, whereby video data of B picture solely is disposed of or skipped. This reduces the amount of processing in the video decoding circuit 1003 without problems during the decoding, and hence permits the reduction of the capacity of the video output buffer circuit 1004.

[0116] (B) Nevertheless, there is a case where the ratio p of the pictures other than B pictures to the entire pictures is excessively large in comparison with an audio speed conversion ratio α₀<1 having been set externally (that is, a case where the ratio of B pictures is extremely small in comparison with the audio speed conversion ratio α₀). In such a case, the video signal of B picture could be insufficiently disposed of or skipped, whereby the V-PTS outputted from the video output buffer circuit 1004 could become smaller and smaller than the time T (counter value) outputted from the timer circuit 1010.

[0117] When this situation continues, the synchronization could be lost between the video signal and the audio signal. Further, overflow could occur in the video output buffer circuit 1004.

[0118] Thus, a control sequence of adjusting and maintaining the audio speed conversion ratio α within the range α₀≦α≦1 may be provided when necessary.

[0119] More specifically, the audio video reproduction apparatus according to the present embodiment may comprise the following audio speed conversion ratio adjusting mode as shown in FIG. 5 which is a flowchart (Chart 2) of an audio video reproduction apparatus according to Embodiment 1 of the invention.

[0120] Steps 401-406; The comparison circuit 1011 determines whether the above-mentioned one video frame of B picture has successfully been skipped or not (Step 401).

[0121] (1) When it is determined that the skip has been successful, the speed setting circuit 1007 determines the present relation between the audio speed conversion ratio α and the audio speed conversion ratio α₀ (Step 402).

[0122] The speed setting circuit 1007 (a) maintains present α when it is determined that α=α₀, and (b) determines the relation between the above-mentioned difference δ and a predetermined threshold value δ₀′ when it is determined that α≠α₀ (Step 403), and thereby (b1) maintains present a without reducing a to make it approach α₀ when it is determined that δ<−δ₀′ (that is, the V-PTS is rather behind), (b2) and reduces a to make it approach α₀ when it is determined that δ≧−δ₀′ (Step 404).

[0123] (2) When it is determined that the skip has been unsuccessful, the speed setting circuit 1007 determines the relation between the difference δ and the predetermined threshold value δ₀′ (Step 405).

[0124] The speed setting circuit 1007 (a) increases a to make it approach unity when it is determined that δ<−δ₀′ (Step 406), (b) and maintains present α without increasing α to make it approach unity when it is determined that δ≧−δ₀′.

[0125] (C) Of course, the adjustment of the audio speed conversion ratio α within the range α₀≦α≦1 may be an adjustment of the audio speed conversion ratio α so that α=α₀ or α=1.

[0126] For example, when the relation α=1 is set immediately in Step 406, the operation process of preventing the situation of α>1 becomes unnecessary. Accordingly, even when the video signal contains no B picture, the synchronization error between the video signal and the audio signal and the overflow in the video output buffer circuit 1004 are easily avoided. Further, when the relation α=α₀ is set immediately in Step 404, the operation process of preventing the situation of α<α₀ becomes unnecessary. Accordingly, when the ratio p of the pictures other than B pictures to the entire pictures becomes small, the intrinsic audio speed conversion ratio is easily realized.

[0127] (D) In the audio video reproduction apparatus according to the present embodiment, (1) the audio speed conversion circuit 1008 has performed audio speed conversion on the audio signal generated by the audio decoding circuit 1006, in such a manner that the information on the A-PTS is maintained, depending on the setting from the speed setting circuit 1007, while (2) the comparison circuit 1011 has compared the A-PTS and the V-PTS, using the A-PTS output timing outputted from the audio output buffer circuit 1009 to the A-PTS buffer circuit 1209.

[0128] However, the invention is not limited to this. When the process delay in the audio speed conversion circuit 1008 and the waiting time in the audio output buffer circuit 1009 are estimated and known in advance, the A-PTS does not need to be outputted from the A-PTS buffer circuit 1209 in response to the A-PTS output timing outputted from the audio output buffer circuit 1009.

[0129] More specifically, as shown in FIG. 6 which is a block diagram of an audio video reproduction apparatus according to an embodiment of an invention relevant to the present invention, (1) an audio speed conversion circuit 1008′ may perform audio speed conversion on the audio signal generated by the audio decoding circuit 1006, depending on the setting from the speed setting circuit 1007, (2) an A-PTS buffer circuit 1209′ may perform delay processing on the A-PTS outputted from the audio decoding circuit 1006 by the total time of both the process delay in the audio speed conversion circuit 1008′ and the waiting time in the audio output buffer circuit 1009′, and then output the A-PTS to the timer circuit 1010, and (3) the comparison circuit 1011 may compare the time T (counter value) outputted from the timer circuit 1010 with the V-PTS outputted from the V-PTS buffer circuit 1104.

[0130] Obviously, when the process delay in the audio speed conversion circuit 1008′ and the waiting time in the audio output buffer circuit 1009′ vary depending on the setting of the speed setting circuit 1007, the setting of the speed setting circuit 1007 may be outputted to the A-PTS buffer circuit 1209′, whereby the delay time may be changed depending on the audio speed conversion ratio.

[0131] Means including the audio speed conversion circuit 1008′ corresponds to audio speed converting means according to an invention relevant to the present invention. Means including the audio output buffer circuit 1009′ corresponds to audio signal accumulating and outputting means according to an invention relevant to the present invention. Means including the A-PTS buffer circuit 1209′ corresponds to delay information generating means according to an invention relevant to the present invention.

[0132] Further, a predetermined delay information according to an invention relevant to the present invention corresponds to information used for the compensation of the above-mentioned delay time based on the consideration of the process delay in the audio speed conversion circuit 1008′ and the waiting time in the audio output buffer circuit 1009′.

[0133] (Embodiment 2)

[0134] First, the configuration of an audio video reproduction apparatus according to the present embodiment is described below with reference mainly to FIG. 7 which is a block diagram of an audio video reproduction apparatus according to Embodiment 2 of an invention relevant to the present invention.

[0135] A system analyzing circuit 2001 is a circuit of classifying video data and audio data from input data.

[0136] A video input buffer circuit 2002 is a circuit of accumulating the video data outputted from the system analyzing circuit 2001, while a video decoding circuit 2003 is a circuit of acquiring the video data from the video input buffer circuit 2002 and thereby decoding and converting the data into a video signal.

[0137] A video output buffer circuit 2004 is a circuit of accumulating and outputting the video signal outputted from the video decoding circuit 2003.

[0138] An audio input buffer circuit 2005 is a circuit of accumulating the audio data outputted from the system analyzing circuit 2001, while an audio decoding circuit 2006 is a circuit of acquiring the audio data from the audio input buffer circuit 2005 and thereby decoding and converting the data into an audio signal.

[0139] A speed setting circuit 2007 is a circuit of setting a desired audio speed conversion ratio α (real number) in response to a user's instruction externally provided through a remote controller or the like.

[0140] A speed control circuit 2012 is a circuit comprising a rational number conversion circuit 2013 and a frequency calculation circuit 2014.

[0141] The rational number conversion circuit 2013 is a circuit of converting the value of the audio speed conversion ratio α outputted from the speed setting circuit 2007 into a rational number β in the vicinity of the value of the audio speed conversion ratio, and then outputting the rational number.

[0142] The frequency calculation circuit 2014 is a circuit which on the basis of the rational number β outputted from the rational number conversion circuit 2013, (1) controls the video output buffer circuit 2004 so that the video signal is frozen at a frequency based on the rational number β when the continuation time of the audio is to be extended, and (2) controls the video output buffer circuit 2004 so that the video signal (for example, a B picture which is of a type of video not referred to by the video decoding circuit 2003 during the decoding of another picture) is skip at a frequency based on the rational number p when the continuation time of the audio is to be reduced.

[0143] The frequency calculation circuit 2014 is a circuit of controlling the video input buffer circuit 2002 so that video data of B picture is disposed of at a frequency based on the rational number p in the latter case where the continuation time of the audio is to be reduced.

[0144] Such control permits more reliable synchronization between the audio signal outputted from the audio output buffer circuit 2009 and the video signal outputted from the video output buffer circuit 2004.

[0145] An audio speed conversion circuit 2008 has a configuration similar to that of the audio speed conversion circuit 1008, and hence is a circuit which using an audio speed conversion method of changing solely the continuation time without changing the frequency, performs an audio speed conversion process on the audio signal outputted from the audio decoding circuit 2006 on the basis of the rational number p outputted from the speed control circuit 2012.

[0146] An audio output buffer circuit 2009 is a circuit of accumulating the audio signal outputted from the audio speed conversion circuit 2008, and thereby outputting the audio signal continuously according to a sampling frequency.

[0147] Means including the system analyzing circuit 2001 corresponds to classifying means according to an invention relevant to the present invention. Means including the audio decoding circuit 2006 corresponds to audio signal generating means according to an invention relevant to the present invention. Means including the audio speed conversion circuit 2008 corresponds to audio speed converting means according to an invention relevant to the present invention. Means including the audio output buffer circuit 2009 corresponds to audio signal accumulating and outputting means according to an invention relevant to the present invention. Means including the video decoding circuit 2003 corresponds to video signal generating means according to an invention relevant to the present invention. Means including the video output buffer circuit 2004 corresponds to video signal accumulating and outputting means according to an invention relevant to the present invention. Means including the rational number conversion circuit 2013 corresponds to audio speed conversion ratio converting means according to an invention relevant to the present invention. Means including the video input buffer circuit 2002 corresponds to video data accumulating means according to an invention relevant to the present invention.

[0148] The operation of the audio video reproduction apparatus according to the present embodiment is described next with reference mainly to FIG. 8 which is a flowchart (Chart 1) of an audio video reproduction apparatus according to Embodiment 2 of an invention relevant to the present invention. At the same time as the description of the operation of the audio video reproduction apparatus according to the present embodiment, an embodiment of an audio video reproduction method according to an invention relevant to the present invention is also described.

[0149] Steps 200 and 201; The process begins (Step 200). The speed setting circuit 2007 receives an audio speed conversion ratio α (0<α≦2) (Step 201).

[0150] Step 202; The rational number conversion circuit 2013 converts the value of the audio speed conversion ratio α into a rational number β in the vicinity of the value of the audio speed conversion ratio.

[0151] Step 203; The system analyzing circuit 2001 receives a bit stream

[0152] Step 204; The system analyzing circuit 2001 extracts a video packet from the bit stream. The video input buffer circuit 2002 stores it.

[0153] Step 205; The system analyzing circuit 2001 extracts an audio packet from the bit stream. The audio input buffer circuit 2005 stores it.

[0154] Steps 206 and 207; The video decoding circuit 2003 acquires the video data from the video input buffer circuit 2002, thereby decodes and converts the data into a video signal (Step 206).

[0155] The video output buffer circuit 2004 stores the video signal (Step 207).

[0156] Steps 208-210; The audio decoding circuit 2006 acquires the audio data from the audio input buffer circuit 2005, thereby decodes and converts the data into an audio signal (Step 208).

[0157] The audio speed conversion circuit 2008 performs an audio speed conversion process on the audio signal on the basis of the rational number p converted by the rational number conversion circuit 2013, and thereby changes the continuation time (Step 209).

[0158] The audio output buffer circuit 2009 stores the audio signal the continuation time of which has been changed (Step 210).

[0159] Steps 211-217; The frequency calculation circuit 2014 determines the relation between the rational number p and unity (Step 211).

[0160] (1) When it is determined that 0<p<1 (that is, the reproduction speed is to be increased), the frequency calculation circuit 2014 calculates mutually-prime integers m⁽¹⁾ and n⁽¹⁾ (1≦n⁽¹⁾<m⁽¹⁾) which satisfy the relation

1−β=n ⁽¹⁾ /m ⁽¹⁾  (Equation 1)

[0161] and integers q⁽¹⁾ and r⁽¹⁾ (0≦r⁽¹⁾<n⁽¹⁾) which satisfy the relation

m ⁽¹⁾ =n ⁽¹⁾ q ⁽¹⁾ +r ⁽¹⁾  (Equation 2)

[0162] and then calculates the partition

m⁽¹⁾=Σ_(j) m⁽¹⁾ _(j) (where Σ is taken over the range 1≦j≦n⁽¹⁾)  (Equation 4)

[0163] of the integer m⁽¹⁾ by n⁽¹⁾ integers m⁽¹⁾ _(j) (j=1, . . . , n⁽¹⁾) which satisfy the relations

m⁽¹⁾ _(j)=q⁽¹⁾ (j=1, . . . , n⁽¹⁾)

[0164] for r⁽¹⁾=0, and

m ⁽¹⁾ _(j) =q ⁽¹⁾+1 (j=1, . . . , r)

m ⁽¹⁾ _(j) =q ⁽¹⁾ (j=r+1, . . . , n ⁽¹⁾)  (Equation 3)

[0165] for r⁽¹⁾≧1

[0166] (Step 212). Using the stored video signal, the video output buffer circuit 2004 outputs the video signal with skipping one video frame in the first m⁽¹⁾ ₁ video frames, skipping one video frame in the next m⁽¹⁾ ₂ video frames, and so on (in total, n⁽¹⁾ video frames are skipped in m⁽¹⁾ video frames) (Step 213).

[0167] By virtue of the fine skipping by means of the partition of the integer m⁽¹⁾, more smooth dynamic picture reproduction is realized which does not cause unnatural feeling to the user, for example, in comparison with the case where the first n⁽¹⁾ video frames in m⁽¹⁾ video frames are skipped at one time.

[0168] Alternatively, the frequency calculation circuit 2014 controls the video input buffer circuit 2002 so that video data of B picture is disposed of (Step 214).

[0169] (2) When it is determined that 0<β≦2 (that is, the reproduction speed is to be reduced), the frequency calculation circuit 2014 calculates mutually-prime integers m⁽²⁾ and n⁽²⁾ (1≦n⁽²⁾<m⁽²⁾) which satisfy the relation

β−1=n ⁽²⁾ /m ⁽²⁾  (Equation 5)

[0170] and integers q⁽²⁾ and r⁽²⁾ (0≦r⁽²⁾<n⁽²⁾ which satisfy the relation

m ⁽²⁾ =n ⁽²⁾ q ⁽²⁾ +r ⁽²⁾  (Equation 6)

[0171] and then calculates the partition

m⁽²⁾=Σ_(j) m⁽²⁾ _(j) (where Z is taken over the range 1≦j−n⁽²⁾)  (Equation 8)

[0172] of the integer m⁽²⁾ by n⁽²⁾ integers m⁽²⁾ _(j) (j=1, . . . , n⁽²⁾) which satisfy the relations

m⁽²⁾ _(j)=q⁽²⁾ (j=1, . . . , n⁽²⁾)

[0173] for r⁽²⁾=0, and

m ⁽²⁾ _(j) q ⁽²⁾+1 (j=1, . . . , r)

m ⁽²⁾ _(j) =q ⁽²⁾ (j=r+1, . . . , n ⁽²⁾)  (Equation 7)

[0174] for r⁽²⁾≧1

[0175] (Step 215). Using the stored video signal, the video output buffer circuit 2004 outputs the video signal with freezing one video frame in the first m⁽²⁾ ₁ video frames, freezing one video frame in the next m⁽²⁾ ₂ video frames, and so on (in total, n⁽²⁾ video frames are frozen in m⁽²⁾ video frames) (Step 216).

[0176] By virtue of the fine skipping by means of the partition of the integer m⁽²⁾, more smooth dynamic picture reproduction is realized which does not cause unnatural feeling to the user, for example, in comparison with the case where the first n⁽²⁾ video frames in m⁽²⁾ video frames are frozen at one time.

[0177] (3) When it is determined that β=1 (that is, the reproduction speed is neither to be increased nor to be reduced), the frequency calculation circuit 2014 does not calculate anything further. Then, using the stored video signal, the video output buffer circuit 2004 outputs the video signal without skipping or freezing (Step 217).

[0178] Steps 218-220; The audio output buffer circuit 2009 outputs the audio signal (Step 218). (1) When the reproduction is to be ended, a series of these processes are terminated, whereas (2) when the reproduction is not to be ended, a series of these processes are repeated (Steps 219 and 220).

[0179] The configuration and the operation of the audio video reproduction apparatus according to the present embodiment have been described above in detail.

[0180] (A) Similarly to the above-mentioned Embodiment 1, in place of the control that the speed control circuit 2012 controls the video output buffer circuit 2004 so that the video signal (for example, B pictures) is skipped (or alternatively, along with the control that the video signal is skipped), the speed control circuit 2012 may notify this to the video input buffer circuit 2002, whereby on recognizing the notification, the video decoding circuit 2003 may identify and dispose of video data of the video signal (for example, B pictures) by itself.

[0181] That is, B pictures are identified from pictures of the other types, whereby the video signal of B picture solely is disposed of or skipped. This reduces the amount of processing in the video decoding circuit 2003 without problems during the decoding, and hence permits the reduction of the capacity of the video output buffer circuit 2004.

[0182] (B) Nevertheless, there is a case where the ratio p of the pictures other than B pictures to the entire pictures is excessively large in comparison with an audio speed conversion ratio α₀ having been set externally (that is, the rational number β₀ converted from the audio speed conversion ratio α₀). In such a case, the video signal of B picture could be insufficiently disposed of or skipped.

[0183] When this situation continues, the synchronization could be lost between the video signal and the audio signal. Further, overflow could occur in the video output buffer circuit 2004.

[0184] Thus, a control sequence of adjusting and maintaining the rational number βwithin the range β₀≦β≦1 may be provided when necessary.

[0185] More specifically, the audio video reproduction apparatus according to the present embodiment may comprise the following audio speed conversion ratio adjusting mode as shown in FIG. 9 which is a flowchart (Chart 2) of an audio video reproduction apparatus according to Embodiment 2 of an invention relevant to the present invention.

[0186] Steps 501-506; The speed setting circuit 2007 determines the relation between the rational number p converted from the present audio speed conversion ratio α₀ and unity (Step 501).

[0187] The frequency calculation circuit 2014 (a) maintains present β when it is determined that 1, and (b) determines whether the above-mentioned one video frame of B picture has successfully been skipped or not, when it is determined that β<1 (Step 502).

[0188] (1) When it is determined that the skip has been unsuccessful, the speed setting circuit 2007 increases β to make it approach unity (Step 503).

[0189] (2) When it is determined that the skip has been successful, the speed setting circuit 2007 determines whether β=β₀ or not (Step 504).

[0190] The speed setting circuit 2007 (a) maintains present β when it is determined that β=β₀, and (b) determines the relation between the present ratio p of the pictures other than B pictures to the entire pictures and the rational number β when it is determined that β≠β₀ (Step 505), and thereby (b1) reduces β to make it approach β₀ when it is determined that p≦β (that is, the ratio 1−p of B pictures is sufficiently large) (Step 506), (b2) and maintains present β without reducing β to make it approach β₀ when it is determined that p>β.

[0191] The detection of the ratio of the pictures other than B pictures to the entire pictures is described below in further detail.

[0192] With decoding the video data, the video decoding circuit 2003 identifies the video type described in the data of each picture of the video data. Then, the speed setting circuit 2007 acquires the accumulated number of each video type (I picture, P picture, and B picture), for example, within the preceding 1 second (30 frames in the NTSC scheme), and thereby calculates the ratio of the pictures other than B pictures to the entire pictures from the accumulated numbers according to (Equation 9).

A=(I picture+P picture)/(I picture+P picture+B picture)  (Equation 9)

[0193] When the obtained value A is larger than the audio speed conversion ratio α having been set, the speed setting circuit 2007 corrects the audio speed conversion ratio α having been set, into a value between A and unity. Then, when the value A recovers into a value smaller than the audio speed conversion ratio α₀ having been set originally, the speed setting circuit 7 re-sets the audio speed conversion ratio α into the audio speed conversion ratio α₀.

[0194] (C) Of course, the adjustment of the rational number β within the range β₀≦β≦=1 may be an adjustment of the rational number β so that β=β₀ or β=1.

[0195] For example, when the relation β=1 is set immediately in Step 503, the operation process of preventing the situation of β>1 becomes unnecessary. Accordingly, even when the video signal contains no B picture, the synchronization error between the video signal and the audio signal and the overflow in the video output buffer circuit 2004 are easily avoided. Further, when the relation β=β₀ is set immediately in Step 506, the operation process of preventing the situation of β<β₀ becomes unnecessary. Accordingly, when the ratio p of the pictures other than B pictures to the entire pictures becomes small, the intrinsic audio speed conversion ratio is easily realized.

[0196] (D) Similarly to the above-mentioned Embodiment 1, when the video data contains a V-PTS and when the audio data contains an A-PTS, the V-PTS outputted from the video output buffer circuit 2004 may be compared with the A-PTS outputted from the audio output buffer circuit 2009, whereby the video frames accumulated in the video output buffer circuit 2004 may be further frozen or skipped.

[0197] As such, when the video frames are frozen or skipped on the basis of the comparison between the V-PTS and the A-PTS, synchronization (AV synchronization) between the video and the audio is realized which compensates synchronization errors between the video and the audio caused by reasons other than the audio speed conversion process (reasons caused by scratches or dust adhesion to the recording medium, difference between the decoding time of the video signal and the decoding time of the audio signal, and the like).

[0198] More specifically, when the audio speed conversion process is performed according to the principle described in the above-mentioned Embodiment 2, with maintaining the synchronization between the video and the audio, synchronization errors maybe compensated between the video and the audio caused by reasons other than the audio speed conversion process, according to the principle described in the above-mentioned Embodiment 1. A specific example of an audio video reproduction apparatus having such a function is shown in FIG. 10 which is a block diagram of an audio video reproduction apparatus according to an embodiment of an invention relevant to the present invention.

[0199] A program according to the invention is a program which causes a computer to execute the function of all or part of the means (or apparatuses, devices, circuits, sections, and the like) in the above-mentioned audio video reproduction apparatus according to the invention, and works in cooperation with the computer. Further, a program according to the invention is a program which causes a computer to execute the operation of all or part of the steps (or processes, operations, effects, and the like) in the above-mentioned audio video reproduction method according to the invention, and works in cooperation with the computer.

[0200] A data structure according to the invention is a data structure used in all or part of the means and steps in the above-mentioned audio video reproduction apparatus and audio video reproduction method according to the invention, in cooperation with a computer.

[0201] A medium according to the invention is a medium which carries a program of causing a computer to execute all or part of the function of all or part of the means in the above-mentioned audio video reproduction apparatus according to the invention, wherein: the medium is read out by a computer; and the read-out program carries out the above-mentioned function in cooperation with the computer. Further, a medium according to the invention is a medium which carries a program of causing a computer to execute all or part of the operations of all or part of the steps in the above-mentioned audio video reproduction method according to the invention, wherein: the medium is read out by a computer; and the read-out program carries out the above-mentioned operation in cooperation with the computer. Furthermore, a medium according to the invention is a medium which carries a data structure used in all or part of the means and steps in the above-mentioned audio video reproduction apparatus and audio video reproduction method according to the invention, in cooperation with a computer, wherein: the medium is read out by a computer; and the read-out data structure is used in cooperation with the computer.

[0202] The above-mentioned “part of the means (or apparatuses, devices, circuits, sections, and the like)” according the invention and the above-mentioned “part of the steps (or processes, operations, effects, and the like)” according the invention indicate: a piece or pieces of means among a plurality of pieces of said means and a step or steps among a plurality of said steps; or alternatively, part of function in a piece of means and part of operation in a step, respectively.

[0203] A mode of use of a program according to the invention may be that the program is recorded in a computer-readable recording medium and works in cooperation with a computer. Further, a mode of use of a program according to the invention maybe that the program is transmitted through a transmitting medium, read out by a computer, and works in cooperation with the computer.

[0204] A data structure according to the invention includes a database, a data format, a data table, a data list, and a data type.

[0205] The scope of a medium according to the invention includes: a ROM; a transmitting medium such as the Internet; and a transmitting medium such as light, radio waves, and acoustic waves.

[0206] A computer according to the invention is not limited to genuine hardware such as a CPU, and may be firmware, an OS, and a peripheral device.

[0207] Further, as described above, the configuration of the invention may be implemented by software or hardware.

[0208] Described next are inventions which have been invented by the present inventor and which are the above-mentioned inventions relevant to the present invention.

[0209] Invention 1 is an audio video reproduction apparatus comprising:

[0210] classifying means of classifying externally inputted MPEG (Moving Picture Experts Group) data containing audio data having an A-PTS (audio-presentation time stamp) and video data having a V-PTS (video-presentation time stamp) into said audio data and said video data;

[0211] audio signal generating means of decoding said classified audio data and thereby generating an audio signal;

[0212] audio speed converting means of performing audio speed conversion on said generated audio signal in such a manner that the information on said A-PTS is maintained, depending on an executing reproduction speed which is determined on the basis of an external setting reproduction speed having been set externally and at which actual reproduction is performed;

[0213] audio signal accumulating and outputting means of accumulating said audio signal having undergone the audio speed conversion and of outputting said accumulated audio signal according to said executing reproduction speed;

[0214] video signal generating means of decoding said classified video data and thereby generating a video signal;

[0215] video signal accumulating and outputting means of accumulating said generated video signal and outputting said accumulated video signal; and

[0216] comparing means of comparing said A-PTS corresponding to the audio signal outputted from said audio signal accumulating and outputting means with said V-PTS corresponding to the video signal outputted from said video signal accumulating and outputting means, by using said maintained information on the A-PTS; wherein

[0217] using the result of said comparison, said video signal accumulating and outputting means outputs said accumulated video signal according to said executing reproduction speed.

[0218] Invention 2 is an audio video reproduction apparatus according to Invention 1, wherein as a result of said comparison, said video signal accumulating and outputting means (1) outputs said accumulated video signal with using skip operation when said A-PTS corresponding to the audio signal outputted from said audio signal accumulating and outputting means is in advance of said V-PTS corresponding to the video signal outputted from said video signal accumulating and outputting means, and (2) outputs said accumulated video signal with using freeze operation when said A-PTS corresponding to the audio signal outputted from said audio signal accumulating and outputting means is behind said V-PTS corresponding to the video signal outputted from said video signal accumulating and outputting means.

[0219] Invention 3 is an audio video reproduction apparatus according to Invention 2, wherein as a result of said comparison, when said A-PTS corresponding to the audio signal outputted from said audio signal accumulating and outputting means is in advance of said V-PTS corresponding to the video signal outputted from said video signal accumulating and outputting means, said video signal accumulating and outputting means skips all or part of B pictures of said accumulated video signal.

[0220] Invention 4 is an audio video reproduction apparatus according to Invention 1, further comprising video data accumulating means which is inserted between said classifying means and said video signal generating means and which accumulates said classified video data, wherein

[0221] as a result of said comparison, when said A-PTS corresponding to the audio signal outputted from said audio signal accumulating and outputting means is in advance of said V-PTS corresponding to the video signal outputted from said video signal accumulating and outputting means, said video data accumulating means disposes of all or part of B pictures of said classified video data.

[0222] Invention 5 is an audio video reproduction apparatus according to Invention 1, wherein said executing reproduction speed is (1) adjusted depending on whether said accumulated video signal has successfully been outputted according to said executing reproduction speed or not, alternatively (2) adjusted to approach the single speed when said accumulated video signal has not successfully been outputted according to said executing reproduction speed, and adjusted to approach said external setting reproduction speed when said accumulated video signal has successfully been outputted according to said executing reproduction speed, or alternatively (3) adjusted on the basis of the frequency of B pictures in said video data.

[0223] Invention 6 is an audio video reproduction method comprising:

[0224] a classifying step of classifying externally inputted MPEG (Moving Picture Experts Group) data containing audio data having an A-PTS (audio-presentation time stamp) and video data having a V-PTS (video-presentation time stamp) into said audio data and said video data;

[0225] an audio signal generating step of decoding said classified audio data and thereby generating an audio signal;

[0226] an audio speed converting step of performing audio speed conversion on said generated audio signal in such a manner that the information on said A-PTS is maintained, depending on an executing reproduction speed which is determined on the basis of an external setting reproduction speed having been set externally and at which actual reproduction is performed;

[0227] an audio signal accumulating and outputting step of accumulating said audio signal having undergone the audio speed conversion and of outputting said accumulated audio signal according to said executing reproduction speed;

[0228] a video signal generating step of decoding said classified video data and thereby generating a video signal;

[0229] a video signal accumulating and outputting step of accumulating said generated video signal and outputting said accumulated video signal; and

[0230] a comparing step of comparing said A-PTS corresponding to the audio signal outputted in said audio signal accumulating and outputting step with said V-PTS corresponding to the video signal outputted in said video signal accumulating and outputting step, by using said maintained information on the A-PTS; wherein

[0231] in said video signal accumulating and outputting step, using the result of said comparison, said accumulated video signal is outputted according to said executing reproduction speed.

[0232] Invention 7 is a program of causing a computer to execute the classifying step, the audio signal generating step, the audio speed converting step, the audio signal accumulating and outputting-step, the video signal generating step, the video signal accumulating and outputting step, and the comparing step of the audio video reproduction method according to Invention 6.

[0233] Invention 8 is a computer-processable medium which carries the program according to Invention 7.

[0234] Invention 9 is an audio video reproduction apparatus comprising:

[0235] classifying means of classifying externally inputted MPEG (Moving Picture Experts Group) data containing audio data having an A-PTS (audio-presentation time stamp) and video data having a V-PTS (video-presentation time stamp), into said audio data and said video data;

[0236] audio signal generating means of decoding said classified audio data and thereby generating an audio signal;

[0237] audio speed converting means of performing predetermined audio speed conversion on said generated audio signal depending on an executing reproduction speed which is determined on the basis of an external setting reproduction speed having been set externally and at which actual reproduction is performed;

[0238] delay information generating means of generating predetermined delay information used for outputting said A-PTS obtained by the decoding of said audio data, according to said executing reproduction speed;

[0239] audio signal accumulating and outputting means of accumulating said audio signal having undergone the audio speed conversion and of outputting said accumulated audio signal according to said executing reproduction speed;

[0240] video signal generating means of decoding said classified video data and thereby generating a video signal;

[0241] video signal accumulating and outputting means of accumulating said generated video signal and outputting said accumulated video signal; and

[0242] comparing means of comparing said A-PTS corresponding to the audio signal outputted from said audio signal accumulating and outputting means with said V-PTS corresponding to the video signal outputted from said video signal accumulating and outputting means, by using said generated predetermined delay information; wherein

[0243] using the result of said comparison, said video signal accumulating and outputting means outputs said accumulated video signal according to said executing reproduction speed.

[0244] Invention 10 is an audio video reproduction method comprising:

[0245] a classifying step of classifying externally inputted MPEG (Moving Picture Experts Group) data containing audio data having an A-PTS (audio-presentation time stamp) and video data having a V-PTS (video-presentation time stamp) into said audio data and said video data;

[0246] an audio signal generating step of decoding said classified audio data and thereby generating an audio signal;

[0247] an audio speed converting step of performing predetermined audio speed conversion on said generated audio signal depending on an executing reproduction speed which is determined on the basis of an external setting reproduction speed having been set externally and at which actual reproduction is performed;

[0248] a delay information generating step of generating predetermined delay information used for outputting said A-PTS obtained by the decoding of said audio data, according to said executing reproduction speed;

[0249] an audio signal accumulating and outputting step of accumulating said audio signal having undergone the audio speed conversion and of outputting said accumulated audio signal according to said executing reproduction speed;

[0250] a video signal generating step of decoding said classified video data and thereby generating a video signal;

[0251] a video signal accumulating and outputting step of accumulating said generated video signal and outputting said accumulated video signal; and

[0252] a comparing step of comparing said A-PTS corresponding to the audio signal outputted from said audio signal accumulating and outputting means with said V-PTS corresponding to the video signal outputted from said video signal accumulating and outputting means, by using said generated predetermined delay information; wherein

[0253] in said video signal accumulating and outputting step, using the result of said comparison, said accumulated video signal is outputted according to said executing reproduction speed.

[0254] Invention 11 is a program of causing a computer to execute the classifying step, the audio signal generating step, the audio speed converting step, the delay information generating step, the audio signal accumulating and outputting step, the video signal generating step, the video signal accumulating and outputting step, and the comparing step of the audio video reproduction method according to Invention 10.

[0255] Invention 12 is a computer-processable medium which carries the program according to Invention 11.

[0256] Invention 13 is an audio video reproduction apparatus comprising:

[0257] classifying means of classifying externally inputted MPEG (Moving Picture Experts Group) data containing audio data and video data, into said audio data and said video data;

[0258] audio signal generating means of decoding said classified audio data and thereby generating an audio signal;

[0259] audio speed converting means of performing predetermined audio speed conversion on said generated audio signal depending on an executing reproduction speed which is determined on the basis of an external setting reproduction speed having been set externally and at which actual reproduction is performed;

[0260] audio signal accumulating and outputting means of accumulating said audio signal having undergone the audio speed conversion and of outputting said accumulated audio signal according to said executing reproduction speed;

[0261] video signal generating means of decoding said classified video data and thereby generating a video signal; and

[0262] video signal accumulating and outputting means of accumulating said generated video signal and outputting said accumulated video signal according to said executing reproduction speed.

[0263] Invention 14 is an audio video reproduction apparatus according to Invention 13, further comprising audio speed conversion ratio converting means of converting an audio speed conversion ratio α of said generated audio signal relevant to said external setting reproduction speed into a rational number β relevant to said executing reproduction speed, wherein:

[0264] said audio speed conversion ratio converting means performs said predetermined audio speed conversion on said generated audio signal depending on said rational number β;

[0265] said audio signal accumulating and outputting means accumulates said audio signal having undergone said audio speed conversion and outputs said accumulated audio signal according to said executing reproduction speed on the basis of said rational number β; and

[0266] said video signal accumulating and outputting means accumulates said generated video signal and outputs said accumulated video signal according to said executing reproduction speed on the basis of said rational number β.

[0267] Invention 15 is an audio video reproduction apparatus according to Invention 14, wherein said video signal accumulating and outputting means (1) outputs said accumulated video signal with using skip operation when said rational number β is smaller than unity, and (2) outputs said accumulated video signal with using freeze operation when said rational number β is larger than unity.

[0268] Invention 16 is an audio video reproduction apparatus according to Invention 15, wherein said video signal accumulating and outputting means skips all or part of B pictures of said accumulated video signal when said rational number β is smaller than unity.

[0269] Invention 17 is an audio video reproduction apparatus according to Invention 14, further comprising video data accumulating means which is inserted between said classifying means and said video signal generating means and which accumulates said classified video data, wherein

[0270] when said rational number β is smaller than unity, said video data accumulating means disposes of all or part of B pictures of said classified video data.

[0271] Invention 18 is an audio video reproduction apparatus according to Invention 14, wherein said executing reproduction speed is (1) adjusted depending on whether said accumulated video signal has successfully been outputted according to said executing reproduction speed or not, alternatively (2) adjusted to approach the single speed when said accumulated video signal has not successfully been outputted according to said executing reproduction speed, and adjusted to approach said external setting reproduction speed when said accumulated video signal has successfully been outputted according to said executing reproduction speed, or alternatively (3) adjusted on the basis of the frequency of B pictures in said video data.

[0272] Invention 19 is an audio video reproduction apparatus according to Invention 15, wherein: (1) when said rational number β is smaller than unity, using the partition

m⁽¹⁾=Σ_(j) m⁽¹⁾ _(j) (where Σ is taken over the range 1≦j≦n⁽¹⁾)  (Equation 4)

[0273] of an integer m⁽¹⁾ by n⁽¹⁾ integers m⁽¹⁾ _(j) (j=1, 2, . . . , n⁽¹⁾) which is determined according to a predetermined criterion with integers m⁽¹⁾ and n⁽¹⁾ (1≦n⁽¹⁾<m⁽¹⁾) which satisfy the relation

1−β=n ⁽¹⁾ /m ⁽¹⁾  (Equation 1)

[0274] said video signal accumulating and outputting means outputs said accumulated video signal with skipping one video frame in the first m⁽¹⁾ ₁ video frames, skipping one video frame in the next m⁽¹⁾ ₂ video frames, and so on; and (2) when said rational number β is larger than unity, using the partition

m⁽²⁾=Σ_(j) m⁽²⁾ _(j) (where Σ is taken over the range 1≦j≦n⁽²⁾)  (Equation 8)

[0275] of an integer m⁽²⁾ by n⁽²⁾ integers m⁽²⁾ _(j) (j=1, 2, . . . , n⁽²⁾) which is determined according to a predetermined criterion with integers m⁽²⁾ and n⁽²⁾ (1≦n⁽²⁾<m⁽²⁾) which satisfy the relation

β−1=n ⁽²⁾ /m ⁽²⁾  (Equation 5)

[0276] said video signal accumulating and outputting means outputs said accumulated video signal with freezing one video frame in the first m⁽²⁾ ₁ video frames, freezing one video frame in the next m⁽²⁾ ₂ video frames, and so on.

[0277] Invention 20 is an audio video reproduction apparatus according to Invention 19, wherein: (1) said n⁽¹⁾ integers m⁽¹⁾ _(j) (j=1, 2, . . . , n⁽¹⁾) indicate n⁽¹⁾ integers m⁽¹⁾ _(j) (j=1, 2, . . . , n⁽¹⁾) which are determined using integers q⁽¹⁾ and r⁽¹⁾ (0≦r^((1)<n) ⁽¹⁾) satisfying the relation

m ⁽¹⁾ =n ⁽¹⁾ q ⁽¹⁾ +r ⁽¹⁾  (Equation 2)

[0278] and which are determined such that the relations

m⁽¹⁾ _(j)=q⁽¹⁾ (j=1, . . . , n⁽¹⁾)

[0279] for r⁽¹⁾=0, and

m ⁽¹⁾ _(j) =q ⁽¹⁾+1 (j=1, . . . , r)

m⁽¹⁾ _(j)=q⁽¹⁾ (j=r+1, . . . , n⁽¹⁾)  (Equation 3)

[0280] for r⁽¹⁾≧1

[0281] are satisfied; and (2) said n⁽²⁾ integers m⁽²⁾ _(j) (j=1, 2, . . . , n⁽²⁾ indicate n⁽²⁾ integers m⁽²⁾ _(j) (j=1, 2, . . . , n⁽²⁾ which are determined using integers q⁽²⁾ and r⁽²⁾ (0≦r^((2)<n) ⁽²⁾) satisfying the relation

m ⁽²⁾ =n ⁽²⁾ q ⁽²⁾ +r ⁽²⁾  (Equation 6)

[0282] and which are determined such that the relations

m⁽²⁾=q⁽²⁾ (j=1, . . . , n⁽²⁾)

[0283] for r⁽²⁾=0, and

m ⁽²⁾ =q ⁽²⁾+1 (j=1, . . . , r)

m ⁽²⁾ _(j) =q ⁽²⁾ (j=r+1, . . . , n ⁽²⁾)  (Equation 7)

[0284] for r⁽²⁾≧1

[0285] are satisfied.

[0286] Invention 21 is an audio video reproduction method comprising:

[0287] a classifying step of classifying externally inputted MPEG (Moving Picture Experts Group) data containing audio data and video data, into said audio data and said video data;

[0288] an audio signal generating step of decoding said classified audio data and thereby generating an audio signal;

[0289] an audio speed converting step of performing predetermined audio speed conversion on said generated audio signal depending on an executing reproduction speed which is determined on the basis of an external setting reproduction speed having been set externally and at which actual reproduction is performed;

[0290] an audio signal accumulating and outputting step of accumulating said audio signal having undergone the audio speed conversion and of outputting said accumulated audio signal according to said executing reproduction speed;

[0291] a video signal generating step of decoding said classified video data and thereby generating a video signal; and

[0292] a video signal accumulating and outputting step of accumulating said generated video signal and outputting said accumulated video signal according to said executing reproduction speed.

[0293] Invention 22 is a program of causing a computer to execute the classifying step, the audio signal generating step, the audio speed converting step, the audio signal accumulating and outputting step, the video signal generating step, and the video signal accumulating and outputting step of the audio video reproduction method according to Invention 21.

[0294] Invention 23 is a computer-processable medium which carries the program according to Invention 22.

INDUSTRIAL APPLICABILITY

[0295] As seen from the above-mentioned description, the invention has the advantage that even when reproduction speed is set different from the normal reproduction speed, the output timing of the video signal and the output timing of the audio signal do not largely deviate from each other in comparison with the case of normal reproduction, and hence their synchronization is maintained more precisely. 

1. An audio video reproduction apparatus comprising: classifying means of classifying externally inputted MPEG (Moving Picture Experts Group) data containing audio data having an A-PTS (audio-presentation time stamp) and video data having a V-PTS (video-presentation time stamp) into said audio data and said video data; audio signal generating means of decoding said classified audio data and thereby generating an audio signal; audio speed converting means of performing audio speed conversion on said generated audio signal in such a manner that the information on said A-PTS is maintained, depending on an executing reproduction speed which is determined on the basis of an external setting reproduction speed having been set externally and at which actual reproduction is performed; audio signal accumulating and outputting means of accumulating said audio signal having undergone the audio speed conversion and of outputting said accumulated audio signal according to said executing reproduction speed; video signal generating means of decoding said classified video data and thereby generating a video signal; video signal accumulating and outputting means of accumulating said generated video signal and outputting said accumulated video signal; and comparing means of comparing said A-PTS corresponding to the audio signal outputted from said audio signal accumulating and outputting means with said V-PTS corresponding to the video signal outputted from said video signal accumulating and outputting means, by using said maintained information on the A-PTS; wherein using the result of said comparison, said video signal accumulating and outputting means outputs said accumulated video signal according to said executing reproduction speed.
 2. An audio video reproduction apparatus according to claim 1, wherein as a result of said comparison, said video signal accumulating and outputting means (1) outputs said accumulated video signal with using skip operation when said A-PTS corresponding to the audio signal outputted from said audio signal accumulating and outputting means is in advance of said V-PTS corresponding to the video signal outputted from said video signal accumulating and outputting means, and (2) outputs said accumulated video signal with using freeze operation when said A-PTS corresponding to the audio signal outputted from said audio signal accumulating and outputting means is behind said V-PTS corresponding to the video signal outputted from said video signal accumulating and outputting means.
 3. An audio video reproduction apparatus according to claim 2, wherein as a result of said comparison, when said A-PTS corresponding to the audio signal outputted from said audio signal accumulating and outputting means is in advance of said V-PTS corresponding to the video signal outputted from said, video signal accumulating and outputting means, said video signal accumulating and outputting means skips all or part of B pictures of said accumulated video signal.
 4. An audio video reproduction apparatus according to claim 1, further comprising video data accumulating means which is inserted between said classifying means and said video signal generating means and which accumulates said classified video data, wherein as a result of said comparison, when said A-PTS corresponding to the audio signal outputted from said audio signal accumulating and outputting means is in advance of said V-PTS corresponding to the video signal outputted from said video signal accumulating and outputting means, said video data accumulating means disposes of all or part of B pictures of said classified video data.
 5. An audio video reproduction apparatus according to claim 1, wherein said executing reproduction speed is (1) adjusted depending on whether said accumulated video signal has successfully been outputted according to said executing reproduction speed or not, alternatively (2) adjusted to approach the single speed when said accumulated video signal has not successfully been outputted according to said executing reproduction speed, and adjusted to approach said external setting reproduction speed when said accumulated video signal has successfully been outputted according to said executing reproduction speed, or alternatively (3) adjusted on the basis of the frequency of B pictures in said video data.
 6. An audio video reproduction method comprising: a classifying step of classifying externally inputted MPEG (Moving Picture Experts Group) data containing audio data having an A-PTS (audio-presentation time stamp) and video data having a V-PTS (video-presentation time stamp) into said audio data and said video data; an audio signal generating step of decoding said classified audio data and thereby generating an audio signal; an audio speed converting step of performing audio speed conversion on said generated audio signal in such a manner that the information on said A-PTS is maintained, depending on an executing reproduction speed which is determined on the basis of an external setting reproduction speed having been set externally and at which actual reproduction is performed; an audio signal accumulating and outputting step of accumulating said audio signal having undergone the audio speed conversion and of outputting said accumulated audio signal according to said executing reproduction speed; a video signal generating step of decoding said classified video data and thereby generating a video signal; a video signal accumulating and outputting step of accumulating said generated video signal and outputting said accumulated video signal; and a comparing step of comparing said A-PTS corresponding to the audio signal outputted in said audio signal accumulating and outputting step with said V-PTS corresponding to the video signal outputted in said video signal accumulating and outputting step, by using said maintained information on the A-PTS; wherein in said video signal accumulating and outputting step, using the result of said comparison, said accumulated video signal is outputted according to said executing reproduction speed.
 7. A program of causing a computer to execute the classifying step, the audio signal generating step, the audio speed converting step, the audio signal accumulating and outputting step, the video signal generating step, the video signal accumulating and outputting step, and the comparing step of the audio video reproduction method according to claim
 6. 8. A computer-processable medium which carries the program according to claim
 7. 